<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, user-scalable=no, maxmum-scale=1.0, minimum-scale=1.0">
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/swiper-bundle.min.css">
    <link rel="stylesheet" href="css/index.css">
    <!-- 引入flexible.js文件 -->
    <script src="js/flexible.js"></script>
    <title>Document</title>
</head>

<body>
    <section class="wrap">
        <header class="header">黑马页面</header>
        <nav class="nav">
            <a href="#" class="item">
                <img src="./icons/icon1.png" alt="">
                <span>HR面试</span>
            </a>
            <a href="#" class="item">
                <img src="./icons/icon2.png" alt="">
                <span>笔试</span>
            </a>
            <a href="#" class="item">
                <img src="./icons/icon3.png" alt="">
                <span>技术面试</span>
            </a>
            <a href="#" class="item">
                <img src="./icons/icon4.png" alt="">
                <span>模拟面试</span>
            </a>
            <a href="#" class="item">
                <img src="./icons/icon5.png" alt="">
                <span>面试技巧</span>
            </a>
            <a href="#" class="item">
                <img src="./icons/icon6.png" alt="">
                <span>薪资查询</span>
            </a>
        </nav>
        <!-- go模块 -->
        <section class="go">
            <img src="./images/go.png" alt="">
        </section>
    </section>


    <!-- 就业指导模块 -->
    <section class="content">
        <!-- 头部 -->
        <div class="con_hd">
            <h4>
                <img src="./icons/i2.png" alt=""> 就业指导
            </h4>
            <a href="#" class="more">更多>></a>
        </div>
        <!-- 身体 -->
        <div class="con_bd">
            <!-- Swiper -->
            <div class="swiper-container work_fo">
                <div class="swiper-wrapper">
                    <div class="swiper-slide" style="background-image:url(./images/nature-1.jpg)">
                        <a href="#"><img src="./images/pic.png" alt=""></a>
                        <p>老师教你学英语</p>
                    </div>
                    <div class="swiper-slide" style="background-image:url(./images/nature-2.jpg)">
                        <a href="#"><img src="./images/pic1.png" alt=""></a>
                        <p>老师教你学英语</p>
                    </div>
                    <div class="swiper-slide" style="background-image:url(./images/nature-3.jpg)">
                        <a href="#"><img src="./images/pic2.png" alt=""></a>
                        <p>老师教你学英语</p>
                    </div>
                </div>
                <!-- Add Pagination -->
                <!-- 分页器  小圆点
                <div class="swiper-pagination"></div> -->
                <!-- Add Arrows -->
            </div>
            <!-- 左右箭头 -->
            <!-- 根据需求 把左右箭头拿出来 放在swiper-container盒子外面 -->
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
        </div>
    </section>


    <!-- 学习指导模块 -->
    <section class="content study_con">
        <!-- 头部 -->
        <div class="con_hd">
            <h4>
                <img src="./icons/i1.png" alt=""> 充电学习
            </h4>
            <a href="#" class="more">更多>></a>
        </div>
        <!-- 身体 -->
        <div class="study">
            <!-- Swiper -->
            <div class="swiper-container study_fo">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <img src="./images/pic1.png" alt="">
                        <h5>说低调英语，告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="./images/pic1.png" alt="">
                        <h5>说低调英语，告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="./images/pic1.png" alt="">
                        <h5>说低调英语，告别中式英语</h5>
                        <p>156人学习</p>
                    </div>
                    <div class="swiper-slide">
                        <img src="./images/pic1.png" alt="">
                        <h5>说低调英语，告别中式英语</h5>
                        <p>156人学习</p>
                    </div>

                </div>
                <!-- Add Pagination -->
                <div class="swiper-pagination"></div>
            </div>
        </div>
    </section>

    <!-- 底部 -->
    <footer class="footer">
        <a href="#" class="item">
            <img src="./icons/home.png" alt="">
            <p>首页</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/ms.png" alt="">
            <p>模拟面试</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/net.png" alt="">
            <p>技术面试</p>
        </a>
        <a href="#" class="item">
            <img src="./icons/user.png" alt="">
            <p>我的首页</p>
        </a>

    </footer>


    <script src="./js/flexible.js"></script>
    <script src="./js/swiper-bundle.min.js"></script>
    <script>
        // 第一个函数里面是 就业指导轮播图
        (function () {
            var swiper = new Swiper('.work_fo', {
                effect: 'coverflow',
                grabCursor: true,
                centeredSlides: true,
                slidesPerView: 'auto',
                coverflowEffect: {
                    rotate: 50,
                    stretch: 0,
                    depth: 100,
                    modifier: 1,
                    slideShadows: true,
                },
                // 添加左右箭头
                navigation: {
                    nextEl: '.swiper-button-next',
                    prevEl: '.swiper-button-prev',
                },
                // 分页器
                // pagination: {
                //     el: '.swiper-pagination',
                // },
            });
        })();
        // 第二个函数的轮播图
        (function () {
            // 若有多个轮播图 得修改swiper-container
            var swiper = new Swiper('.study_fo', {
                // 能看得到几个
                slidesPerView: 2.5,
                // 每个图片相邻多远
                spaceBetween: 20,

            });
        })();
    </script>

</body>

</html>